<html>
<head><meta charset="utf-8"><title>libLLVM dylib on Windows · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html">libLLVM dylib on Windows</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="165075141"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/libLLVM%20dylib%20on%20Windows/near/165075141" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Denys Zariaiev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html#165075141">(May 07 2019 at 14:21)</a>:</h4>
<p>Can somebody please explain why does dynamically linked LLVM not supported on Windows? <br>
While I was trying to adjust a linker for <code>nvptx64</code> target to unblock <a href="https://github.com/rust-lang/rust/issues/59752" target="_blank" title="https://github.com/rust-lang/rust/issues/59752">#59752</a>, I came across a comment at <a href="https://github.com/rust-lang/rust/blob/ab9c016395e7a7ce5b2aaf09e1b10c8dd2744eee/src/bootstrap/dist.rs#L2043" target="_blank" title="https://github.com/rust-lang/rust/blob/ab9c016395e7a7ce5b2aaf09e1b10c8dd2744eee/src/bootstrap/dist.rs#L2043">src/bootstrap/dist.rs#L2043</a>.</p>
<p>Does it mean, it's impossible to build a dynamic <code>libLLVM</code> on Windows, or it just can't be used by <code>lld</code> and other tools?</p>



<a name="165075635"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/libLLVM%20dylib%20on%20Windows/near/165075635" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zoxc <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html#165075635">(May 07 2019 at 14:26)</a>:</h4>
<p>I don't think libLLVM counts as tools, not sure what libLLVM is either</p>



<a name="165077655"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/libLLVM%20dylib%20on%20Windows/near/165077655" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zoxc <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html#165077655">(May 07 2019 at 14:48)</a>:</h4>
<p>I think the <code>yet</code> wording implies Windows support just isn't implemented</p>



<a name="165091713"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/libLLVM%20dylib%20on%20Windows/near/165091713" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html#165091713">(May 07 2019 at 17:22)</a>:</h4>
<p>I think we had troubles with dynamically linking LLVM on windows but I don't recall exactly what they were. If someone could make LLVM get dynamically linked on windows I think that would be good (more uniform cross-platform).</p>



<a name="165157110"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/libLLVM%20dylib%20on%20Windows/near/165157110" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Denys Zariaiev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html#165157110">(May 08 2019 at 12:13)</a>:</h4>
<blockquote>
<p>I think the <code>yet</code> wording implies Windows support just isn't implemented</p>
</blockquote>
<p>Makes sense, sorry I should have read it more carefully - overlooked the wording</p>



<a name="165157162"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/libLLVM%20dylib%20on%20Windows/near/165157162" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Denys Zariaiev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/libLLVM.20dylib.20on.20Windows.html#165157162">(May 08 2019 at 12:14)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> I see, thanks for the clarification</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>